package com.company.user.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = "职位表")
@TableName("tb_position")
public class PositionEntity {

  @ApiModelProperty(value = "职位id")
  @TableId
  private String positionId;
  @ApiModelProperty(value = "职位名称")
  private String positionName;
  @ApiModelProperty(value = "部级id")
  private String departmentId;
  @ApiModelProperty(value = "排序")
  private Integer sort;
  @ApiModelProperty(value = "创建时间")
  private Date createTime;
  @ApiModelProperty(value = "修改时间")
  private Date updateTime;
  @ApiModelProperty(value = "状态，0：正常，1：删除，2封禁")
  private Integer positionStatus;
  @ApiModelProperty(value = "删除标记，n未删除，y删除")
  private String isDel;

  public String getPositionId() {
    return positionId;
  }

  public void setPositionId(String positionId) {
    this.positionId = positionId;
  }


  public String getPositionName() {
    return positionName;
  }

  public void setPositionName(String positionName) {
    this.positionName = positionName;
  }


  public String getDepartmentId() {
    return departmentId;
  }

  public void setDepartmentId(String departmentId) {
    this.departmentId = departmentId;
  }

  public Integer getSort() {
    return sort;
  }

  public void setSort(Integer sort) {
    this.sort = sort;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }


  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }


  public Integer getPositionStatus() {
    return positionStatus;
  }

  public void setPositionStatus(Integer positionStatus) {
    this.positionStatus = positionStatus;
  }

  public String getIsDel() {
    return isDel;
  }

  public void setIsDel(String isDel) {
    this.isDel = isDel;
  }
}
